<?php

include_once 'CodeObject.php';

class Comment extends CodeObject
{
    public function __construct($text = '', $docComment = false)
    {
        $this->set_text($text);
        $this->set_docComment($docComment);
    }
    
    public function get_text()
    {
        return $this->text;
    }

    public function set_text($text)
    {
        $this->text = $text;
    }

    public function get_docComment()
    {
        return $this->docComment;
    }

    public function set_docComment($docComment)
    {
        $this->docComment = $docComment;
    }

    private $text;
    private $docComment;
}

?>
